﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<PagedList<CourseSystem.Core.Entities.ExaminationSummaryInfo>>" %>
<%@ Import Namespace="CourseSystem.Common.Helpers" %>
<%@ Import Namespace="Webdiyer.WebControls.Mvc" %>
<table width="748" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC">
    <tr>
        <td width="498" height="25" bgcolor="#D1E5F0">
            <div align="center" class="style13">
                试卷名称</div>
        </td>
        <td width="133" bgcolor="#D1E5F0">
            <div align="center">
                <span class="style5">评分</span></div>
        </td>
    </tr>
    <% foreach(var item in Model){%>
    <tr bgcolor="#FFFFFF" class="style1">
        <td height="25">
           <%=ExamLibHelper.GetExamName(item.ExaminationInfo) %>
        </td>
        <td>
            <div align="center">
               <%=item.Score %></div>
        </td>
    </tr><%}  %>
</table><table width="98%" height="7" border="0" align="center" cellpadding="0" cellspacing="0"
    bordercolor="#FFFFFF">
    <tr>
        <td class="gray12">
            &nbsp;
        </td>
        <td align="right" class="gray12">
            <%=Html.AjaxPager(Model, new PagerOptions() { ContainerTagName = "span", CssClass = "mvcPager", PageIndexParameterName = "pid", ShowMorePagerItems = false, AlwaysShowFirstLastPageNumber = true, }, new AjaxOptions() { UpdateTargetId = "listDiv" })%>
            共<%=Model.TotalItemCount %>条记录，页<%=Model.CurrentPageIndex %>/<%=Model.TotalPageCount %>
        </td>
    </tr>
</table>